
<template>
  <div id="home">
    <!-- 前台页面的 -->
    <el-container>
      <el-header height="175px;">
        <header-com></header-com>
      </el-header>
      <el-container>
        <el-header>
          <nav-com></nav-com>
        </el-header>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>

    <!-- 后台管理 -->
    <!-- <el-container>
      <el-header height="64px">
        <app-header></app-header>
      </el-header>
      <el-container>
        <el-aside width="232px">
          <app-aside></app-aside>
        </el-aside>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container> -->

  </div>
</template>

<script>
import headerCom from "@/components/header/Header";
import navCom from "@/components/navigation/Navigation";
export default {
  components: {
    headerCom,
    navCom,
  },
  data () {
    return {

    }
  },
  methods: {

  }
}
</script>

<style lang='scss' scoped>
.el-container {
  height: 100%;
  padding: 0px;
  .el-header {
    padding: 0px;
    width: 100%;
    color: #fff;
  }
  .el-main {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: #e8eaed;
    padding: 0px;
    text-align: center;
    color: #333;
  }
}
</style>
